package pw.http.proxy;

import pw.http.proxy.core.ICookieListener;

/**
 * @Author Eric
 * @Desc
 * @Date Create in 18-1-18 下午2:19
 * @Modified By
 */
public class HttpConfig {
    // 单位毫秒
    private long connectTimeout ; // 连接超时设置
    // 单位毫秒
    private long readTimeout ; // 读取超时设置

    private ICookieListener cookieListener;

    public long getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(long connectTimeout) {
        this.connectTimeout = connectTimeout;
    }

    public long getReadTimeout() {
        return readTimeout;
    }

    public void setReadTimeout(long readTimeout) {
        this.readTimeout = readTimeout;
    }

    public ICookieListener getCookieListener() {
        return cookieListener;
    }

    public void setCookieListener(ICookieListener cookieListener) {
        this.cookieListener = cookieListener;
    }
}
